# n = input()
# dic = {'to':0,'be':0,'or':0,'not':0,'that':0,'is':0,'the':0,'question':0}
# word = n.split()
# for x in dic:
#     for i in word:
#         if x == i:
#             dic[i] += 1
# print(dic)
#
#


n = input()
dic = {}
word = n.split()
for i in word:
    if i not in dic:
        dic[i] = 1  # 初始化字典中的单词计数为1，而不是尝试对字典本身加1
    # else:
    #     dic[i] += 1  # 如果单词已经存在，则将其计数加1
print(dic)